home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacOS 8 Resources / Developer Tools / Debugger / Power Mac Debugger 2.1d12 / Power Mac Debugger 2.1d12.rsrc / CDEF_259_TriState.txt < prev    next >
Text File  |  1996-04-18  |  13KB  |  226 lines

  1. start:
  2. 00000000  4E56 FFC0                link       A6, -0x0040
  3. 00000004  48E7 0F18                movem.l    -[A7], D4,D5,D6,D7,A3,A4
  4. 00000008  266E 000E                movea.l    A3, [A6 + 0xE]
  5. 0000000C  7000                     moveq.l    D0, 0x00
  6. 0000000E  2D40 0014                move.l     [A6 + 0x14], D0
  7. 00000012  302E 000C                move.w     D0, [A6 + 0xC]
  8. 00000016  670A                     beq        +0xC /* 00000022 */
  9. 00000018  5340                     subq.w     D0, 1
  10. 0000001A  6700 0192                beq        +0x194 /* 000001AE */
  11. 0000001E  6000 01A8                bra        +0x1AA /* 000001C8 */
  12. label00000022:
  13. 00000022  2053                     movea.l    A0, [A3]
  14. 00000024  4240                     clr.w      D0
  15. 00000026  1028 0010                move.b     D0, [A0 + 0x10]
  16. 0000002A  0C40 00FF                cmpi.w     D0, 0xFF
  17. 0000002E  6704                     beq        +0x6 /* 00000034 */
  18. 00000030  6000 0196                bra        +0x198 /* 000001C8 */
  19. label00000034:
  20. 00000034  486E FFEE                pea.l      [A6 - 0x12]
  21. 00000038  A898                     syscall    GetPenState
  22. 0000003A  42A7                     clr.l      -[A7]
  23. 0000003C  A8D8                     syscall    NewRgn
  24. 0000003E  2C1F                     move.l     D6, [A7]+
  25. 00000040  42A7                     clr.l      -[A7]
  26. 00000042  A8D8                     syscall    NewRgn
  27. 00000044  2E1F                     move.l     D7, [A7]+
  28. 00000046  2F06                     move.l     -[A7], D6
  29. 00000048  A87A                     syscall    GetClip
  30. 0000004A  2053                     movea.l    A0, [A3]
  31. 0000004C  43EE FFDE                lea.l      A1, [A6 - 0x22]
  32. 00000050  5088                     addq.l     A0, 8
  33. 00000052  22D8                     move.l     [A1]+, [A0]+
  34. 00000054  22D8                     move.l     [A1]+, [A0]+
  35. 00000056  2F07                     move.l     -[A7], D7
  36. 00000058  2F2E FFDE                move.l     -[A7], [A6 - 0x22]
  37. 0000005C  2F2E FFE2                move.l     -[A7], [A6 - 0x1E]
  38. 00000060  A8DE                     syscall    SetRecRgn
  39. 00000062  2F07                     move.l     -[A7], D7
  40. 00000064  2F06                     move.l     -[A7], D6
  41. 00000066  2F07                     move.l     -[A7], D7
  42. 00000068  A8E4                     syscall    SectRgn
  43. 0000006A  2F07                     move.l     -[A7], D7
  44. 0000006C  A879                     syscall    SetClip
  45. 0000006E  2F07                     move.l     -[A7], D7
  46. 00000070  A8D9                     syscall    DisposRgn/DisposeRgn
  47. 00000072  302E FFE0                move.w     D0, [A6 - 0x20]
  48. 00000076  D07C 000F                add.w      D0, 0xF
  49. 0000007A  3D40 FFE4                move.w     [A6 - 0x1C], D0
  50. 0000007E  302E FFDE                move.w     D0, [A6 - 0x22]
  51. 00000082  D07C 000F                add.w      D0, 0xF
  52. 00000086  3D40 FFE2                move.w     [A6 - 0x1E], D0
  53. 0000008A  2053                     movea.l    A0, [A3]
  54. 0000008C  2A28 001C                move.l     D5, [A0 + 0x1C]
  55. 00000090  4A68 0012                tst.w      [A0 + 0x12]
  56. 00000094  6622                     bne        +0x24 /* 000000B8 */
  57. 00000096  42A7                     clr.l      -[A7]
  58. 00000098  2F3C 5049 4354           move.l     -[A7], 0x50494354 /* 'PICT' */
  59. 0000009E  2045                     movea.l    A0, D5
  60. 000000A0  2050                     movea.l    A0, [A0]
  61. 000000A2  3F10                     move.w     -[A7], [A0]
  62. 000000A4  A9A0                     syscall    GetResource
  63. 000000A6  285F                     movea.l    A4, [A7]+
  64. 000000A8  200C                     move.l     D0, A4
  65. 000000AA  6766                     beq        +0x68 /* 00000112 */
  66. 000000AC  2F0C                     move.l     -[A7], A4
  67. 000000AE  2054                     movea.l    A0, [A4]
  68. 000000B0  4868 0002                pea.l      [A0 + 0x2]
  69. 000000B4  A8F6                     syscall    DrawPicture
  70. 000000B6  605A                     bra        +0x5C /* 00000112 */
  71. label000000B8:
  72. 000000B8  2053                     movea.l    A0, [A3]
  73. 000000BA  7001                     moveq.l    D0, 0x01
  74. 000000BC  B068 0012                cmp.w      D0, [A0 + 0x12]
  75. 000000C0  6624                     bne        +0x26 /* 000000E6 */
  76. 000000C2  42A7                     clr.l      -[A7]
  77. 000000C4  2F3C 5049 4354           move.l     -[A7], 0x50494354 /* 'PICT' */
  78. 000000CA  2045                     movea.l    A0, D5
  79. 000000CC  2050                     movea.l    A0, [A0]
  80. 000000CE  3F28 0002                move.w     -[A7], [A0 + 0x2]
  81. 000000D2  A9A0                     syscall    GetResource
  82. 000000D4  285F                     movea.l    A4, [A7]+
  83. 000000D6  200C                     move.l     D0, A4
  84. 000000D8  6738                     beq        +0x3A /* 00000112 */
  85. 000000DA  2F0C                     move.l     -[A7], A4
  86. 000000DC  2054                     movea.l    A0, [A4]
  87. 000000DE  4868 0002                pea.l      [A0 + 0x2]
  88. 000000E2  A8F6                     syscall    DrawPicture
  89. 000000E4  602C                     bra        +0x2E /* 00000112 */
  90. label000000E6:
  91. 000000E6  2053                     movea.l    A0, [A3]
  92. 000000E8  7002                     moveq.l    D0, 0x02
  93. 000000EA  B068 0012                cmp.w      D0, [A0 + 0x12]
  94. 000000EE  6622                     bne        +0x24 /* 00000112 */
  95. 000000F0  42A7                     clr.l      -[A7]
  96. 000000F2  2F3C 5049 4354           move.l     -[A7], 0x50494354 /* 'PICT' */
  97. 000000F8  2045                     movea.l    A0, D5
  98. 000000FA  2050                     movea.l    A0, [A0]
  99. 000000FC  3F28 0004                move.w     -[A7], [A0 + 0x4]
  100. 00000100  A9A0                     syscall    GetResource
  101. 00000102  285F                     movea.l    A4, [A7]+
  102. 00000104  200C                     move.l     D0, A4
  103. 00000106  670A                     beq        +0xC /* 00000112 */
  104. 00000108  2F0C                     move.l     -[A7], A4
  105. 0000010A  2054                     movea.l    A0, [A4]
  106. 0000010C  4868 0002                pea.l      [A0 + 0x2]
  107. 00000110  A8F6                     syscall    DrawPicture
  108. label00000112:
  109. 00000112  2053                     movea.l    A0, [A3]
  110. 00000114  4A28 0028                tst.b      [A0 + 0x28]
  111. 00000118  672E                     beq        +0x30 /* 00000148 */
  112. 0000011A  486E FFD2                pea.l      [A6 - 0x2E]
  113. 0000011E  A88B                     syscall    GetFontInfo
  114. 00000120  302E FFE4                move.w     D0, [A6 - 0x1C]
  115. 00000124  5440                     addq.w     D0, 2
  116. 00000126  3F00                     move.w     -[A7], D0
  117. 00000128  302E FFD2                move.w     D0, [A6 - 0x2E]
  118. 0000012C  D06E FFDE                add.w      D0, [A6 - 0x22]
  119. 00000130  3F00                     move.w     -[A7], D0
  120. 00000132  A893                     syscall    MoveTo
  121. 00000134  2053                     movea.l    A0, [A3]
  122. 00000136  41E8 0028                lea.l      A0, [A0 + 0x28]
  123. 0000013A  1F10                     move.b     -[A7], [A0]
  124. 0000013C  3F3C 00FF                move.w     -[A7], 0xFF
  125. 00000140  4EBA 00A0                jsr        [PC + 0xA0 /* 000001E2 */]
  126. 00000144  2F08                     move.l     -[A7], A0
  127. 00000146  A884                     syscall    DrawString
  128. label00000148:
  129. 00000148  2053                     movea.l    A0, [A3]
  130. 0000014A  4240                     clr.w      D0
  131. 0000014C  1028 0011                move.b     D0, [A0 + 0x11]
  132. 00000150  0C40 00FF                cmpi.w     D0, 0xFF
  133. 00000154  6616                     bne        +0x18 /* 0000016C */
  134. 00000156  3F3C 000B                move.w     -[A7], 0xB
  135. 0000015A  A89C                     syscall    PenMode
  136. 0000015C  486D FFE4                pea.l      [A5 - 0x1C]
  137. 00000160  A89D                     syscall    PenPat
  138. 00000162  2053                     movea.l    A0, [A3]
  139. 00000164  4868 0008                pea.l      [A0 + 0x8]
  140. 00000168  A8A2                     syscall    PaintRect
  141. 0000016A  6032                     bra        +0x34 /* 0000019E */
  142. label0000016C:
  143. 0000016C  2053                     movea.l    A0, [A3]
  144. 0000016E  4240                     clr.w      D0
  145. 00000170  1028 0011                move.b     D0, [A0 + 0x11]
  146. 00000174  4A40                     tst.w      D0
  147. 00000176  6F26                     ble        +0x28 /* 0000019E */
  148. 00000178  2054                     movea.l    A0, [A4]
  149. 0000017A  43EE FFC0                lea.l      A1, [A6 - 0x40]
  150. 0000017E  5488                     addq.l     A0, 2
  151. 00000180  22D8                     move.l     [A1]+, [A0]+
  152. 00000182  22D8                     move.l     [A1]+, [A0]+
  153. 00000184  486E FFC0                pea.l      [A6 - 0x40]
  154. 00000188  2F3C 0001 0001           move.l     -[A7], 0x10001
  155. 0000018E  A8A9                     syscall    InsetRect
  156. 00000190  2F3C 0001 0001           move.l     -[A7], 0x10001
  157. 00000196  A89B                     syscall    PenSize
  158. 00000198  486E FFC0                pea.l      [A6 - 0x40]
  159. 0000019C  A8A1                     syscall    FrameRect
  160. label0000019E:
  161. 0000019E  486E FFEE                pea.l      [A6 - 0x12]
  162. 000001A2  A899                     syscall    SetPenState
  163. 000001A4  2F06                     move.l     -[A7], D6
  164. 000001A6  A879                     syscall    SetClip
  165. 000001A8  2F06                     move.l     -[A7], D6
  166. 000001AA  A8D9                     syscall    DisposRgn/DisposeRgn
  167. 000001AC  601A                     bra        +0x1C /* 000001C8 */
  168. label000001AE:
  169. 000001AE  4267                     clr.w      -[A7]
  170. 000001B0  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  171. 000001B4  2053                     movea.l    A0, [A3]
  172. 000001B6  4868 0008                pea.l      [A0 + 0x8]
  173. 000001BA  A8AD                     syscall    PtInRect
  174. 000001BC  181F                     move.b     D4, [A7]+
  175. 000001BE  1004                     move.b     D0, D4
  176. 000001C0  6706                     beq        +0x8 /* 000001C8 */
  177. 000001C2  7001                     moveq.l    D0, 0x01
  178. 000001C4  2D40 0014                move.l     [A6 + 0x14], D0
  179. label000001C8:
  180. 000001C8  4CDF 18F0                movem.l    D4,D5,D6,D7,A3,A4, [A7]+
  181. 000001CC  4E5E                     unlink     A6
  182. 000001CE  205F                     movea.l    A0, [A7]+
  183. 000001D0  DEFC 000C                add.w      A7, 0xC
  184. 000001D4  4ED0                     jmp        [A0]
  185. 000001D6  8854                     or.w       D4, [A4]
  186. 000001D8  5249                     addq.w     A1, 1
  187. 000001DA  5354                     subq.w     [A4], 1
  188. 000001DC  4154                     chk.w      D0, [A4]
  189. 000001DE  4500                     .invalid   2, D0 // invalid opcode 4 with b == 4
  190. 000001E0  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  191. // begin alternate branch 000001E2-000001E8
  192. fn000001E2:
  193. 000001E2  4E56 0000                link       A6, 0
  194. 000001E6  2F00                     move.l     -[A7], D0
  195. // end alternate branch 000001E2-000001E8
  196. fn000001E2: // (misaligned)
  197. 000001E4  0000 2F00                ori.b      D0, 0x0
  198. 000001E8  7000                     moveq.l    D0, 0x00
  199. 000001EA  102E 000A                move.b     D0, [A6 + 0xA]
  200. 000001EE  B06E 0008                cmp.w      D0, [A6 + 0x8]
  201. 000001F2  6F0A                     ble        +0xC /* 000001FE */
  202. 000001F4  487A 0018                pea.l      [PC + 0x18 /* 0000020E, value 0x18537472, pstring "String Range Check Abort" */]
  203. 000001F8  303C FE15                move.w     D0, 0xFE15
  204. 000001FC  A9C9                     syscall    SysError
  205. label000001FE:
  206. 000001FE  201F                     move.l     D0, [A7]+
  207. 00000200  4E5E                     unlink     A6
  208. 00000202  2E9F                     move.l     [A7], [A7]+
  209. 00000204  4E75                     rts
  210. 00000206  5354                     subq.w     [A4], 1
  211. 00000208  5252                     addq.w     [A2], 1
  212. 0000020A  4743                     chk.w      D3, D3
  213. 0000020C  484B                     pea.l      A3
  214. 0000020E  1853                     movea.b    A4, [A3]
  215. 00000210  7472                     moveq.l    D2, 0x72
  216. 00000212  696E                     bvs        +0x70 /* 00000282 */
  217. 00000214  6720                     beq        +0x22 /* 00000236 */
  218. 00000216  5261                     addq.w     -[A1], 1
  219. 00000218  6E67                     bgt        +0x69 /* 00000281 */
  220. 0000021A  6520                     bcs        +0x22 /* 0000023C */
  221. 0000021C  4368 6563                chk.w      D1, [A0 + 0x6563]
  222. 00000220  6B20                     bmi        +0x22 /* 00000242 */
  223. 00000222  4162                     chk.w      D0, -[A2]
  224. 00000224  6F72                     ble        +0x74 /* 00000298 */
  225. 00000226  7400                     moveq.l    D2, 0x00
  226.